VintaSoft Barcode .NET SDK 16.0: Руководство для .NET разработчика
Vintasoft.Data Namespace / HttpStreamingStream Class / Read Methods / Read(Byte[],Int32,Int32) Method
Синтаксис Exceptions Требования Смотрите также
В этом разделе
Read(Byte[],Int32,Int32) Метод (HttpStreamingStream)
В этом разделе
Copies bytes from the current buffered stream to an array.
Синтаксис
'Declaration

Public Overloads Overrides Function Read( _
ByVal buffer
The buffer to which bytes are to be copied.
() As Byte, _
ByVal offset
The byte offset in the buffer at which to begin reading bytes.
As Integer, _
ByVal count
The number of bytes to be read.
As Integer _
) As Integer
public override int Read(
byte[] buffer,
int offset,
int count
)

Parameters

buffer
The buffer to which bytes are to be copied.
offset
The byte offset in the buffer at which to begin reading bytes.
count
The number of bytes to be read.

Return Value

The total number of bytes read into array.
Исключения
ИсключениеОписание
Thrown if [X:buffer] is {b}null{/b}.
Thrown if [X:offset] or [X:count] is negative.
Thrown if [X:buffer] is too short.
Требования

Целевые платформы: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

Смотрите также